1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36 package net.sf.pmr.agilePlanning.domain.story;
37
38 import java.util.Set;
39
40 import net.sf.pmr.agilePlanning.domain.iteration.Iteration;
41 import net.sf.pmr.core.domain.basicProject.BasicProject;
42 import net.sf.pmr.keopsframework.domain.object.DomainObject;
43
44 /***
45 * @author Arnaud Prost (arnaud.prost@gmail.com)
46 *
47 * A story is a customer requirement.
48 */
49 public interface Story extends DomainObject {
50
51 /***
52 * short description <br>
53 * i.e.: display, compute ...
54 * @return shortDescription
55 */
56 String getShortDescription();
57
58 /***
59 * short description
60 * @param shortDescription short description
61 */
62 void setShortDescription(final String shortDescription);
63
64 /***
65 * description
66 * @return description
67 */
68 String getDescription();
69
70 /***
71 * description
72 * @param description description
73 */
74 void setDescription(final String description);
75
76 /***
77 * first estimate
78 * @return first estimate
79 */
80 int getEstimate();
81
82 /***
83 * first estimate
84 * @param estimate : first estimate
85 */
86 void setEstimate(final int estimate);
87
88 /***
89 * Itetation of the story
90 * @return Itetation of the story
91 */
92 Iteration getIteration();
93
94 /***
95 * Itetation of the story
96 * @param iteration of the story
97 */
98 void setIteration(final Iteration iteration);
99
100 /***
101 * tasks fot the story
102 * @return tasks
103 */
104 Set getTasks();
105
106 /***
107 * tasks fot the story
108 * @param tasks tasks
109 */
110 void setTasks(final Set tasks);
111
112 /***
113 * basic project
114 * @return basic project
115 */
116 BasicProject getBasicProject();
117
118 /***
119 * basic project
120 * @param basicProject basic project
121 */
122 void setBasicProject(final BasicProject basicProject);
123
124 }